<?php

App::import('Model', 'Slideshow');
$Slideshow = new Slideshow();

?>
<div id="slideshow">
    <ul>
        <? foreach ($Slideshow->find('all') as $slide): ?>
        <li>
            <?= $this->Html->image('slideshow/' . $slide['Slideshow']['image'] . "?w=300&h=300") ?>
            <h1><?= $slide['Slideshow']['title'] ?></h1>
            <div class="blurb"><?= $slide['Slideshow']['blurb'] ?></div>
        </li>
        <? endforeach ?>
    </ul>
</div>